package com.kang.gaklibrary.service.impl;

import com.kang.gaklibrary.mapper.GoodsMapper;
import com.kang.gaklibrary.model.Goods;
import com.kang.gaklibrary.service.GoodsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class GoodsServiceImpl implements GoodsService {
    @Autowired
    private GoodsMapper goodsMapper;


    @Override
    public List<Goods> selectAllGoods() {
        return goodsMapper.selectAllGoods();
    }


}
